.modal-header
	h4.modal-title Task Log
.modal-body
	dl.dl-horizontal
		dt Status
		dd {{ task.status }}
		dt User
		dd {{ task.user_name }}
		dt Started
		dd {{ task.startFormatted }}
		dt Ended
		dd {{ task.endFormatted }}
		dt Created
		dd {{ task.createdFormatted }}
		dt Permalink
		dd 
			a(href="{{ task.URL }}") Output
		dt Raw output
		dd: input(type="checkbox" ng-model="raw" title="show logs unbesmirched")

	textarea.scroll(readonly, scroll-glue) {{ output_formatted }}

.modal-footer
	button.btn.btn-default.pull-left(ng-click="$dismiss()") Dismiss
	button.btn.btn-danger(ng-click="remove()") delete
	//- button.btn.btn-success(ng-click="restart(task)") Re-Run
